package com.example.administrator.daydayappmarket.software.category.model;

import org.json.JSONException;
import org.json.JSONObject;

import java.util.List;

/**
 * Created by lenovo on 2016/12/27.
 */

public class SoftwareCategoryBean {

    private String image;
    private String id;
    private String type;
    private String title;

    public void parseJson(JSONObject jsonObject) throws JSONException{
        if (jsonObject != null) {
            image=jsonObject.getString("image");
            id=jsonObject.getString("id");
            type=jsonObject.getString("type");
            title=jsonObject.getString("title");
        }
    }

    public String getImage() {
        return image;
    }

    public String getId() {
        return id;
    }

    public String getType() {
        return type;
    }

    public String getTitle() {
        return title;
    }
}
